package com.msb.mall.core.dao.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msb.mall.core.entity.product.CategoryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author leixu
 * @email xuleiwolf@163.com
 * @date 2024-04-19 10:08:56
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {

    List<CategoryEntity> getCategoryByCondition(@Param("param") Map<String, Object> param);

    List<CategoryEntity> queryLeve1Category();
}
